body {
	padding-top: 100px;
	padding-bottom: 40px;
	background-color: #f7f7f7;
}

.carousel img {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.content-heading {
  color: #444;
  font-size: 24px;
  line-height: 24px;
  padding-top: 10px;
  margin-bottom: 16px;
}

.tag {
	background-color: #700D0A;
	font-size: 14px;
	font-weight: normal;
	padding: 4px 12px;
	margin: 0 6px 20px 0;
	height: 20px;
}

.tag-list {
	line-height: 30px;
	height: 40px;
}

.tag-edit:hover {
	text-decoration: line-through;
}

.toolbox {
	margin-bottom: 20px;
}

.form-prompt {
	margin: 0 100px 20px 100px;
}

.clear {
	clear: both;
}

/* ====== nav ====== */

.navbar li {
	line-height: 40px;
	font-size: 18px;
	width: 128px;
	text-align: center;
}

.navbar-highlight {
	line-height: 40px;
	padding: 10px 20px;
	margin-left: -20px;
	float: right;
	font-size: 20px;
	color: #ccc;
	text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	transition: all .2s linear;
}

.navbar-highlight:hover {
	color: #fff;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4);
}

.form-search {
	margin-top: 14px;
}

.sidebar {
	width: 220px;
}

/*************** validate ********************/
label.valid {
	width: 24px;
	height: 24px;
	background: url("/asset/img/valid.png") center center no-repeat;
	display: inline-block;
	text-indent: -9999px;
}

label.error {
	font-size: 13px;
	font-weight: bold;
	color: red;
	padding-left: 8px;
	margin-top: 2px;
}

/***** avatars ****/
.portrait {
	width: 180px;
}

.avatar-large {
	height: 100px;
	max-width: 100px;
	float: left;
	margin-right: 20px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.avatar-medium {
	height: 40px;
	max-width: 40px;
	float: left;
	margin-right: 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.avatar-small {
	height: 20px;
	max-width: 20px;
	float: left;
	margin-right: 5px;
}

.activity-cover {
	float: left;
	max-width: 300px;
	height: 120px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

/* activity history */
/* search */
.history-item, .result-item {
  margin: 30px 0;
  height: 120px;
}

.item-description {
  float: left;
  margin-left: 40px;
  width: 620px;
}

.result-item hr {
	margin: 0;
}
.result-member-row {
	height: 22px;
}
.result-member-description {
	margin: 0 20px 0 10px;
}
.result-activity {
	height: 150px;
}

/******** waterfall *****/
#waterfall {
	list-style-type: none;
	position: relative;
	margin: 0;
}

.waterfall-item {
	width: 200px;
	background-color: #fff;
	box-shadow: 0 0 4px #999;
	-moz-box-shadow: 0 0 4px #999;
	-webkit-box-shadow: 0 0 4px #999;
	filter: progid:DXImageTransform.Microsoft.Shadow(color = #adacac,direction = 135,strength = 2);
	float: left;
	padding-bottom: 8px;
	margin-bottom: 10px;
	position: absolute;
	left: -9999px;
}
.waterfall-item:hover {
	box-shadow: 0 0 6px #666;
	-moz-box-shadow: 0 0 6px #666;
	-webkit-box-shadow: 0 0 6px #666;
}

.waterfall-item-bottom {
	margin: 0 8px;
}
.waterfall-item-heading {
	font-size: 16px;
	font-weight: bold;
	margin: 8px 4px;
	display: block;
}
a.waterfall-item-heading:hover {
	text-decoration: none;
}
.waterfall-item-bottom ul {
	margin: 0 0 0 25px;
}
.waterfall-item img {
  width: 194px;
  margin: 3px;
}
.item-link {
	font-weight: bold;
}

#waterfall-loading {
	display: none;
	height: 24px;
	background: url("/asset/img/loading.gif") center center no-repeat;
}

/******** comment *******/
.comment-heading {
	width: 20%;
}
.comment-content, .comment-reply {
	width: 50%;
}
.comment-timestamp {
	width: 20%;
}
.comment-reply-btn {
	width: 10%;
}

/* richtext */
.richtext-content {
	margin: 20px 0;
	font-size: 15px;
	line-height: 1.6em;
}

.richtext-content p {
	text-indent: 2em;
	margin-bottom: 0.8em;
}

.typeahead {
	z-index: 9999;
}

.tooltip {
	z-index: 9999;
}
